package getThreadNum;

public class Demo {
    public static void main(String[] args) {
        int count = Runtime.getRuntime().availableProcessors();
        System.out.println("Java可用cpu线程数为： " + count );

    }
}
